package com.tencent.qf.user.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 实时用户宽表
 * @TableName dwm_user_model_info_rt
 */
@TableName(value ="dwm_user_model_info_rt")
@Data
public class DwmUserModelInfoRt implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 联合ID
     */
    @TableField(value = "union_id")
    private String unionId;

    /**
     * 联合ID MD5
     */
    @TableField(value = "union_id_md5")
    private String unionIdMd5;

    /**
     * 用户ID
     */
    @TableField(value = "uid")
    private String uid;

    /**
     * 用户ID MD5
     */
    @TableField(value = "uid_md5")
    private String uidMd5;

    /**
     * 累计订单数
     */
    @TableField(value = "acc_ord_num")
    private Long accOrdNum;

    /**
     * 累计支付订单数
     */
    @TableField(value = "acc_pay_ord_num")
    private Long accPayOrdNum;

    /**
     * 累计成交订单数
     */
    @TableField(value = "acc_deal_ord_num")
    private Long accDealOrdNum;

    /**
     * 累计成交金额
     */
    @TableField(value = "acc_deal_gmv")
    private Long accDealGmv;

    /**
     * 最近一笔成交订单日期
     */
    @TableField(value = "last_deal_ord_dt")
    private Integer lastDealOrdDt;

    /**
     * 优惠券领取数量
     */
    @TableField(value = "coupon_received_num")
    private Long couponReceivedNum;

    /**
     * 核销优惠券数量
     */
    @TableField(value = "coupon_used_num")
    private Long couponUsedNum;

    /**
     * 核销优惠券数量(剔幽灵)
     */
    @TableField(value = "coupon_used_num_no_ghost")
    private Long couponUsedNumNoGhost;

    /**
     * 更新时间
     */
    @TableField(value = "updatetime")
    private String updatetime;

    /**
     * 扩展字段
     */
    @TableField(value = "ext_data")
    private String extData;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}